package com.chenliang.tk.po;


import com.chenliang.tk.config.UUIdGenId;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * core_user
 *
 * @author
 */
@Data
public class CoreUser implements Serializable {


    /**
     * 观看Tk对比
     * 表使用主键自增的时候, id不需要使用keySql注解
     */

    @Id
    @KeySql(genId = UUIdGenId.class)
    private String id;

    private String name;

    private String age;

    private String job;

    private static final long serialVersionUID = 1L;
}